package org.programmers.anonymous.fightrobots.model;


import org.programmers.anonymous.fightrobots.model.IRobot.Status;

public class StatusMessage extends Message{
	
	private Status myStatus;
	

	public StatusMessage(){
		super();
	}
	
	
	public StatusMessage(IURLId sender, IURLId receiver,Status status) {
		super(sender, receiver);
		this.myStatus = status;
	}

	public Status getStatus() {
		return myStatus;
	}

	public void setStatus(Status myStatus) {
		this.myStatus = myStatus;
	}

	@Override
	public String toString()
	{
		StringBuffer strBuff = new StringBuffer();
		strBuff.append(super.toString());
		strBuff.append(",status:");
		strBuff.append(this.myStatus);
		strBuff.append("}");
		
		return strBuff.toString();
	}

	
}
